home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’97 / Ventriloquist / source code / TalkerApp / PP Basic Starter.h < prev    next >
Encoding:
Text File  |  1997-06-27  |  924 b   |  31 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    PP Basic Starter.h        ©1994-1997 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4.  
  5. #pragma once
  6.  
  7. #include <LApplication.h>
  8.  
  9.  
  10. class    CPPStarterApp : public LApplication {
  11. public:
  12.                         CPPStarterApp();        // constructor registers all PPobs
  13.     virtual             ~CPPStarterApp();        // stub destructor
  14.     
  15.         // this overriding function performs application functions
  16.         
  17.     virtual Boolean        ObeyCommand(CommandT inCommand, void* ioParam);    
  18.     
  19.         // this overriding function returns the status of menu items
  20.         
  21.     virtual void        FindCommandStatus(CommandT inCommand,
  22.                             Boolean &outEnabled, Boolean &outUsesMark,
  23.                             Char16 &outMark, Str255 outName);
  24.                             
  25.     virtual void         ProcessNextEvent();
  26.     void                Speak(Str31 word);
  27.  
  28. protected:
  29.  
  30.     virtual void        StartUp();        // overriding startup functions
  31. };